取消用户的签约计划
用于商户停止用户的签约计划,必须是该签约计划的创建方商户才能取消。 官方文档
js
wxpay.v3.payscore.signPlan.userSignPlans.merchantSignPlanNo._merchant_sign_plan_no_.stop.post({
stop_reason,
}, { merchant_sign_plan_no })
.then(
({
data: {
sign_plan_id,
openid,
service_id,
mchid,
appid,
merchant_sign_plan_no,
merchant_callback_url,
plan_id,
going_detail_no,
sign_state,
cancel_sign_time,
cancel_sign_type,
cancel_reason,
plan_name,
plan_over_time,
total_origin_price,
deduction_quantity,
total_actual_price,
signed_detail_list,
sign_time,
},
}) => ({
sign_plan_id,
openid,
service_id,
mchid,
appid,
merchant_sign_plan_no,
merchant_callback_url,
plan_id,
going_detail_no,
sign_state,
cancel_sign_time,
cancel_sign_type,
cancel_reason,
plan_name,
plan_over_time,
total_origin_price,
deduction_quantity,
total_actual_price,
signed_detail_list,
sign_time,
})
)